package com.pt.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pt.common.annotation.Excel;
import com.pt.common.core.domain.BaseEntity;

/**
 * 通知对象 notification
 * 
 * @author wxt
 * @date 2025-02-20
 */
public class Notification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知序号 */
    @Excel(name = "通知序号")
    private Long NotificationID;

    /** 教师id */
    private Long TeacherID;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String NotificationContent;

    /** 通知时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "通知时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ReleaseTime;

    /** 通知对象 */
    @Excel(name = "通知对象")
    private Long CourseID;

    public void setNotificationID(Long NotificationID)
    {
        this.NotificationID = NotificationID;
    }


    public Long getNotificationID()
    {
        return NotificationID;
    }
    public void setTeacherID(Long TeacherID)
    {
        this.TeacherID = TeacherID;
    }

    public Long getTeacherID()
    {
        return TeacherID;
    }
    public void setNotificationContent(String NotificationContent)
    {
        this.NotificationContent = NotificationContent;
    }

    public String getNotificationContent() 
    {
        return NotificationContent;
    }
    public void setReleaseTime(Date ReleaseTime)
    {
        this.ReleaseTime = ReleaseTime;
    }

    public Date getReleaseTime() 
    {
        return ReleaseTime;
    }
    public void setCourseID(Long CourseID)
    {
        this.CourseID = CourseID;
    }

    public Long getCourseID() 
    {
        return CourseID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("NotificationID", getNotificationID())
            .append("TeacherID", getTeacherID())
            .append("NotificationContent", getNotificationContent())
            .append("ReleaseTime", getReleaseTime())
            .append("CourseID", getCourseID())
            .toString();
    }
}
